import Vue from 'vue'
import Router from 'vue-router'
import {portals} from '@/router/portals'

Vue.use(Router)

var routes = [
    {
      path: '/',
      redirect: '/index'
    }
  ]
routes.push.apply(routes,portals)

export default new Router({
  routes: routes
})
